package com.aaa.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.CrossOrigin;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * #Description
 * @return
 * @author 荆豪峰
 * #Date 2023/2/28
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.aaa.member.dao","com.aaa.security.dao"})
@ComponentScan(basePackages = {"com.aaa.member","com.aaa.security"})
@CrossOrigin
@EnableSwagger2
public class MemberApplication {
    public static void main(String[] args) {
        SpringApplication.run(MemberApplication.class,args);
    }
}
